﻿#include "median_filter_plugin.h"

Median_filter_plugin::Median_filter_plugin()
{
}

Median_filter_plugin::~Median_filter_plugin()
{

}

QString Median_filter_plugin::description()
{
//    return "This plugin applies median blur filters to any image."
//            " This plugin's goal is to make us more familiar whit the"
//            " concept of plugins in general.";
    return "this is median";
}

void Median_filter_plugin::processImage(const cv::Mat &inputImage, cv::Mat &outputImage)
{
    cv::medianBlur(inputImage,outputImage,5);
}
